package com.chunxuan.langquan.dao.bean;

import com.google.gson.annotations.SerializedName;

/**
 * <p>
 * date: 2021/3/5 15:09
 *
 * @author syd
 * @version 1.0
 */

public class WxPayEntity {

    /**
     * return_code : SUCCESS
     * return_msg : OK
     * appid : wxa69d4a8b2aad9f91
     * mch_id : 1606914985
     * nonce_str : LPMyrcKi4Q2ZfIwe
     * sign : AF08B5F869E9110BE52BA2E8789E4108
     * result_code : SUCCESS
     * prepay_id : wx0413125926807605019caa11ceae850000
     * trade_type : APP
     * orderInfo : {"appid":"wxa69d4a8b2aad9f91","noncestr":"LPMyrcKi4Q2ZfIwe",
     * "package":"Sign=WXPay","partnerid":"1606914985",
     * "prepayid":"wx0413125926807605019caa11ceae850000","timestamp":"1614834779",
     * "sign":"3BFA34CAAA81C7E9852E8AFC473F29A4"}
     */

    private String return_code;
    private String return_msg;
    private String appid;
    private String mch_id;
    private String nonce_str;
    private String sign;
    private String result_code;
    private String prepay_id;
    private String trade_type;
    private OrderInfoBean orderInfo;

    public String getReturn_code() {
        return return_code;
    }

    public void setReturn_code(String return_code) {
        this.return_code = return_code;
    }

    public String getReturn_msg() {
        return return_msg;
    }

    public void setReturn_msg(String return_msg) {
        this.return_msg = return_msg;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getMch_id() {
        return mch_id;
    }

    public void setMch_id(String mch_id) {
        this.mch_id = mch_id;
    }

    public String getNonce_str() {
        return nonce_str;
    }

    public void setNonce_str(String nonce_str) {
        this.nonce_str = nonce_str;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getResult_code() {
        return result_code;
    }

    public void setResult_code(String result_code) {
        this.result_code = result_code;
    }

    public String getPrepay_id() {
        return prepay_id;
    }

    public void setPrepay_id(String prepay_id) {
        this.prepay_id = prepay_id;
    }

    public String getTrade_type() {
        return trade_type;
    }

    public void setTrade_type(String trade_type) {
        this.trade_type = trade_type;
    }

    public OrderInfoBean getOrderInfo() {
        return orderInfo;
    }

    public void setOrderInfo(OrderInfoBean orderInfo) {
        this.orderInfo = orderInfo;
    }

    public static class OrderInfoBean {
        /**
         * appid : wxa69d4a8b2aad9f91
         * noncestr : LPMyrcKi4Q2ZfIwe
         * package : Sign=WXPay
         * partnerid : 1606914985
         * prepayid : wx0413125926807605019caa11ceae850000
         * timestamp : 1614834779
         * sign : 3BFA34CAAA81C7E9852E8AFC473F29A4
         */

        private String appid;
        private String noncestr;
        @SerializedName("package")
        private String packageX;
        private String partnerid;
        private String prepayid;
        private String timestamp;
        private String sign;

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }

        public String getPackageX() {
            return packageX;
        }

        public void setPackageX(String packageX) {
            this.packageX = packageX;
        }

        public String getPartnerid() {
            return partnerid;
        }

        public void setPartnerid(String partnerid) {
            this.partnerid = partnerid;
        }

        public String getPrepayid() {
            return prepayid;
        }

        public void setPrepayid(String prepayid) {
            this.prepayid = prepayid;
        }

        public String getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(String timestamp) {
            this.timestamp = timestamp;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }
    }
}
